<template>
  <div class="app-container home">
    <el-row justify="center">
      <el-col>
        <el-row class="title-row">
          <el-col :span="24">
            <h1>知识图谱学习系统</h1>
            <h1>技术选型</h1>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="11" class="right-align">
            <h3>后端技术</h3>
            <ul>
              <li>SpringBoot</li>
              <li>Spring Security</li>
              <li>JWT</li>
              <li>MyBatis</li>
              <li>Druid</li>
              <li>Fastjson</li>
            </ul>
          </el-col>
          <el-col :span="2">
            <h4></h4>
          </el-col>
          <el-col :span="11">
            <h3>前端技术</h3>
            <ul>
              <li>Vue</li>
              <li>Vuex</li>
              <li>Element-ui</li>
              <li>Axios</li>
              <li>Sass</li>
              <li>Quill</li>
            </ul>
          </el-col>
        </el-row>
        <el-row :gutter="24" class="image-row">
          <el-col :span="6">
            <a href="https://baike.baidu.com/item/Spring%20Boot/20249767" target="_blank">
              <img src="@/assets/images/springBoot.png" alt="SpringBoot" class="full-width-img" />
            </a>
          </el-col>
          <el-col :span="6">
            <a href="https://baike.baidu.com/item/spring%20security/8831652" target="_blank">
              <img src="@/assets/images/springSecurity.png" alt="SpringSecurity" class="full-width-img" />
            </a>
          </el-col>
          <el-col :span="6">
            <a href="https://blog.csdn.net/weixin_40017062/article/details/143369077" target="_blank">
              <img src="@/assets/images/JWT.png" alt="JWT" class="full-width-img" />
            </a>
          </el-col>
          <el-col :span="6">
            <a href="https://baike.baidu.com/item/MyBatis/2824918" target="_blank">
              <img src="@/assets/images/Mybatis.png" alt="Mybatis" class="full-width-img" />
            </a>
          </el-col>
        </el-row>
        <el-row :gutter="24" class="image-row">
          <el-col :span="6">
            <a href="https://baike.baidu.com/item/Vue.js/19884851" target="_blank">
              <img src="@/assets/images/VUE.png" alt="Vue" class="full-width-img" />
            </a>
          </el-col>
          <el-col :span="6">
            <a href="https://blog.csdn.net/Bonsoir777/article/details/127332806" target="_blank">
              <img src="@/assets/images/Vuex.png" alt="Vuex" class="full-width-img" />
            </a>
          </el-col>
          <el-col :span="6">
            <a href="https://blog.csdn.net/hqy1989/article/details/144722480" target="_blank">
              <img src="@/assets/images/element.png" alt="Element" class="full-width-img" />
            </a>
          </el-col>
          <el-col :span="6">
            <a href="https://baike.baidu.com/item/axios/56933453" target="_blank">
              <img src="@/assets/images/axios.png" alt="Axios" class="full-width-img" />
            </a>
          </el-col>
        </el-row>
        <el-row :gutter="24" class="image-row">
          <el-col :span="6">
            <a href="https://sass-lang.com/" target="_blank">
              <img src="@/assets/images/sass.png" alt="Sass" class="full-width-img" />
            </a>
          </el-col>
          <el-col :span="6">
            <a href="https://baike.baidu.com/item/Sass/8316915" target="_blank">
              <img src="@/assets/images/quill.png" alt="Quill" class="full-width-img" />
            </a>
          </el-col>
          <el-col :span="6">
            <a href="https://developer.aliyun.com/article/1649902" target="_blank">
              <img src="@/assets/images/druid.png" alt="Druid" class="full-width-img" />
            </a>
          </el-col>
          <el-col :span="6">
            <a href="https://blog.csdn.net/qgnczmnmn/article/details/97643309" target="_blank">
              <img src="@/assets/images/fstjson.png" alt="Fastjson" class="full-width-img" />
            </a>
          </el-col>
        </el-row>
      </el-col>
    </el-row>
  </div>
</template>

<style scoped lang="scss">
.home {
  .title-row {
    text-align: center; // h2 标签居中
  }

  .image-row {
    .full-width-img {
      width: 60%; // 图片宽度为 100%
      height: auto; // 保持图片比例
    }
  }

  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }

  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }

  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }

  .update-log {
    ol {
      display: block;
      list-style-type: decimal;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      padding-inline-start: 40px;
    }
  }

  img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
  }

  .center-text {
    text-align: center;
  }

  .right-align {
    text-align: right;
  }
}
</style>

<script lang="ts">
export default {
  name: 'Home',
};
</script>
